package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.AccidentDetail;
import cn.wolfcode.crm.query.impl.AccidentDetailQuery;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IAccidentDetailService {
    void delete(Long id);

    void saveOrUpdate(AccidentDetail record);

    AccidentDetail get(Long id);


    List<AccidentDetail> getAll();



    PageResult query(AccidentDetailQuery qo);

    void changeState(Long id);

    PageResult queryByState(AccidentDetailQuery qo);

    void changeCheckState(Long id);

    PageResult queryByCheck(AccidentDetailQuery qo);
}
